package com.gcxy.service;

import com.gcxy.config.result.R;
import com.gcxy.domain.dto.*;
import com.gcxy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-02-10
 */
public interface IUserService extends IService<User> {

    R login(loginDto loginDto);

    R logout();

    R addUser(AddUserDTO addUserDTO);

    R updateUser(UpdateUserDTO updateUserDTO);

    R getUserDetail(int id);

    R getUserList();

    R getUserPage(UserPageDTO userPageDTO);
    List<Integer> getIds(GetIdDTO getIdDTO);
}
